So that the same logo may be used during boot and keeps its
dimensions on the login screen, appearing to never move.
Related to: https://bugs.launchpad.net/bugs/
1867133
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1101
const _FADE_ANIMATION_TIME = 250;
const _SCROLL_ANIMATION_TIME = 500;
const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0;
-const _LOGO_ICON_HEIGHT = 48;
var UserListItem = GObject.registerClass({
Signals: { 'activate': {} },
if (this._logoFile && this._logoBin.resource_scale > 0) {
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
this._logoBin.add_child(this._textureCache.load_file_async(this._logoFile,
- -1, _LOGO_ICON_HEIGHT,
+ -1, -1,
scaleFactor,
this._logoBin.resource_scale));
}